 package xmarti.vacaxm.beans.maintenance;

public class Calf extends Animal implements java.io.Serializable {
    private String gender;// cal fer un tipus enumeration o no de moment deixem que no     
    public Calf() {
        super();
    }
    public Calf(String gender){
        super();
        this.gender=gender;
    }    
    
    public Calf(Country country, String controlCode, Area areaCode, String animalCode1, String animalCode2) {
        super(country, controlCode, areaCode, animalCode1, animalCode2);
    }
     public Calf(Country country, String controlCode, Area areaCode, String animalCode1, String animalCode2,String gender) {
        super(country, controlCode, areaCode, animalCode1, animalCode2);
        
    }
	/**
     * @return the gender
     */
    public String getGender() {
            return gender;
    }

    /**
     * @param gender the gender to set
     */
    public void setGender(String gender) {
            this.gender = gender;
    }

    @Override
    public String getName() {
        return super.toString();
    }

    @Override
    public String getCodeAnimalToString() {
        return super.toString();
    }
     @Override
    public void setName(String name) {     
    }
     
	
	
	
}
